<template>
  <task-path-list :task="task" />
</template>
<script>
import TaskPathList from '@/components/TaskPathList/index'
export default {
  components: {
    TaskPathList
  },
  data: function() {
    return {
      task: {}
    }
  },
  created: function() {
    const obj = this.$route.params
    if (obj) {
      this.task = obj
    }
  }
}
</script>
